﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KBC_Quiz_Show.Object
{
    public class Player
    {
        private string pName;

        public string PName
        {
            get { return pName; }
            set { pName = value; }
        }
        private string pAddress;

        public string PAddress
        {
            get { return pAddress; }
            set { pAddress = value; }
        }
        private int gender;

        public int Gender
        {
            get { return gender; }
            set { gender = value; }
        }
        private int age;

        public int Age
        {
            get { return age; }
            set { age = value; }
        }
        private int score;

        public int Score
        {
            get { return score; }
            set { score = value; }
        }

        public Player()
        {
            pName = "";
            pAddress = "";
            gender = 1;
            age = 0;
            score = 0;
        }
        public Player(string pName, string pAddress, int gender, int age, int score)
        {
            this.pName = pName;
            this.pAddress = pAddress;
            this.gender = gender;
            this.age = age;
            this.score = score;
        }
        public Player(string pName, string pAddress, int gender, int age)
        {
            this.pName = pName;
            this.pAddress = pAddress;
            this.gender = gender;
            this.age = age;
            this.score = 0;
        }

    }
}
